Repository navigation
Release 1.12.0 - #45
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps the version to 1.12.0 and dates the changelog. It also moves the version in
action.ymland the README's CI snippets to the new release.Ships #44: a column placed after another keeps its time shape, nothing piles up on
--as-ofmidnight, and the determinism promise is now per version.After merging, publishing the GitHub release triggers the PyPI upload.
Release notes (draft)
A column placed after another now keeps its time shape, and no longer piles rows up on
--as-ofmidnight. Both fixes change what some models generate for the same seed: see Upgrading below.Fixed
after, or one a created/updated/closed name pair places after another, was set to thatcolumn plus a random gap, which threw away the draw its
business_hourshad shaped:appointments
aftera booking withbusiness_hours: truecame out at 3am as often as at10am. The gap still decides roughly when;
business_hours(the column's own, or the run's)now decides the weekday and hour. The share of such a column in weekday working hours goes
from about 29%, the rate of a uniform draw, to about 72%, the same as a column drawn on its
own. The column's growth and seasonality still come from the column it follows.
--as-ofmidnight. A gap that ran past the end of the window set the valueto exactly
--as-ofmidnight, so about 1% of a dependent column's rows shared that onetimestamp. Such a gap is now drawn again, and after 20 tries the value is drawn evenly
between the column it follows and the window's end. A
whencolumn filled in on day 0 isplaced the same way.
Changed
--as-ofand options stillgive the same files, byte for byte, on any machine and any day, with the same model2data
version. A new release may change what a seed produces, and when it does the changelog says
which models are affected and why. (The README promised the same bytes across every 1.x
release.)
Upgrading
Output changes for the same seed in a table with a column placed after another, wherever either
fix applies: a dependent column with business hours (its own or the run's), and every table
where a row's gap ran past
--as-of(about 1 row in 100, so most such tables beyond a fewhundred rows). Values drawn after the first such row in a table change too. A table with no
column placed after another writes the same bytes as in 1.11.0.
Committed fixtures from 1.11.0 will differ when regenerated. Pin
model2data==1.11.0(or theAction's
version: 1.11.0) to keep them, or regenerate and commit the new ones.Full changelog: v1.11.0...v1.12.0
🤖 Generated with Claude Code